home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / pc / files / sat / msat09.tgz / BLOGDISP.H < prev    next >
Text File  |  1994-09-17  |  1KB  |  37 lines

  1. #define FALSE 0
  2. #define TRUE (!FALSE)
  3.  
  4. /* Stats structure for keeping statistics. Cleared daily */
  5. struct STAT_STRUCT {
  6.     time_t LogTime            __attribute__ ((packed));
  7.     /* n are simple counters */
  8.     long nHolefills            __attribute__ ((packed));
  9.     long nStartFile            __attribute__ ((packed));
  10.     long nEndFile            __attribute__ ((packed));
  11.     long nNoFile            __attribute__ ((packed));
  12.     long nNoRoom            __attribute__ ((packed));
  13.     long nNotOK            __attribute__ ((packed));
  14.     /* nb are byte counters */
  15.     long nbRequested        __attribute__ ((packed));
  16.     long nbOverwrite        __attribute__ ((packed));
  17.     long nbUnfresh            __attribute__ ((packed));
  18.     long nbPfhErr            __attribute__ ((packed));
  19.     long nbFopenErr            __attribute__ ((packed));
  20.     long nbEnd            __attribute__ ((packed));
  21.     long nbTransmitted        __attribute__ ((packed));
  22.     /* nh are hole counters */
  23.     long nhRequested        __attribute__ ((packed));
  24.     long nDirReqs            __attribute__ ((packed));
  25.     long nbDirTxd            __attribute__ ((packed));
  26.     /* Ticks count time */
  27.     long TicksDir            __attribute__ ((packed));    /* Version 2 and up */
  28.     long TicksData            __attribute__ ((packed));     /* Version 2 and up */
  29.     short nNewStns            __attribute__ ((packed));    /* New stations heard */
  30.     /* Version 3 and up */
  31.     long nbEof            __attribute__ ((packed));
  32.     short nLongFile            __attribute__ ((packed));
  33. };
  34.  
  35. int process(struct STAT_STRUCT *, short);
  36. short GetVer(FILE *);
  37.